package team.hyznrj.studentsys.enums;

import lombok.Getter;

/**
 * @author ReMidDream
 * @date 2018-04-23 15:05
 **/
@Getter
public enum FileEnum {

    FILE_UPLOAD_ERROR(100,"文件上传失败!"),
    FILE_ERROR(101,"文件格式有误!"),

    FILE_DOWNLOAD_ERROR(200,"文件下载失败!"),
    ;

    private Integer code;

    private String message;

    FileEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
